package com.rx.entity.common;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.rx.entity.BaseEntity;

/**
 * 附件
 * 
 * @author Renxin
 * 
 */
@Entity
@Table(name = "common_attachment")
public class Attachment extends BaseEntity {

	/* 别名 */
	private String alias;
	/* 扩展名 */
	private String ext;
	/* 大小 */
	private Long size;
	/* 相对路径 */
	private String path;
	/* 类型 */
	private String type;

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getExt() {
		return ext;
	}

	public void setExt(String ext) {
		this.ext = ext;
	}

	public Long getSize() {
		return size;
	}

	public void setSize(Long size) {
		this.size = size;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
